package com.taobao.api.domain;

import java.util.List;

import com.taobao.api.TaobaoObject;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;

/**
 * 一页ADGroup列表
 *
 * @author auto create
 * @since 1.0, null
 */
public class ADGroupPage extends TaobaoObject {

  private static final long serialVersionUID = 4228137354828255786L;

  /**
   * 商品对象列表
   */
  @ApiListField("adgroup_list")
  @ApiField("a_d_group")
  private List<ADGroup>     adgroupList;

  /**
   * 返回第几页的数据从1开始
   */
  @ApiField("page_no")
  private Long              pageNo;

  /**
   * 每页数据大小
   */
  @ApiField("page_size")
  private Long              pageSize;

  /**
   * 所查询的数据总数，只有当返回第一页数据时有值，当要求返回的数据非第一页时，此返回值无效
   */
  @ApiField("total_item")
  private Long              totalItem;

  public List<ADGroup> getAdgroupList() {
    return this.adgroupList;
  }

  public void setAdgroupList(List<ADGroup> adgroupList) {
    this.adgroupList = adgroupList;
  }

  public Long getPageNo() {
    return this.pageNo;
  }

  public void setPageNo(Long pageNo) {
    this.pageNo = pageNo;
  }

  public Long getPageSize() {
    return this.pageSize;
  }

  public void setPageSize(Long pageSize) {
    this.pageSize = pageSize;
  }

  public Long getTotalItem() {
    return this.totalItem;
  }

  public void setTotalItem(Long totalItem) {
    this.totalItem = totalItem;
  }

}
